package com.hqyj.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hqyj.pojo.UserInfo;
import org.apache.ibatis.annotations.Param;


public interface UserInfoMapper extends BaseMapper<UserInfoMapper> {

  /*
  * 登录方法
  * */
  UserInfo selectLogin(@Param("userName") String userName, @Param("userPwd") String userPwd);

  //查询旧密码
  UserInfo selectPwdById(Integer userId);
}
